/**
 * 文件名称:  ParaDef.java
 * 文件序号:  序号
 * 内容描述:  文件简单描述，多行换行书写
 * 版权声明:  山东鸿蝶信息技术有限公司
 * 创建用户:  zhuhongchao
 * 创建日期:  2017/1/18 08:24
 * 修改用户:  无
 * 修改日期:  无
 * 修改说明:  无
 * 文件版本:  V1.0
 * 文件路径:
 */

package com.hongdee.base.param.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 名  称:ParamDef
 * 类  型: class
 * 描  述: 用一句话描述类的作用
 * 路  径:com.hongdee.base.param.entity
 * 作  者: zhuhongchao
 * 日  期:2017/1/18 08:24
 */


@Entity
@Table(name = "T_BC_PARAM_SET")
public class ParamSet extends BaseEntity {

    @Column(name = "code", length = 32, columnDefinition = " VARCHAR(32) COMMENT '编码' ")
    private String code;

    @Column(name = "name", length = 32, columnDefinition = " VARCHAR(32) COMMENT '名称' ")
    private String name;

    @Column(name = "p_code", length = 32, columnDefinition = " VARCHAR(32) COMMENT '上级编码' ")
    private String pCode;
    @Column(name = "value", length = 32, columnDefinition = " VARCHAR(32) COMMENT '默认值' ")
    private String value;
    @Column(name = "value_type", length = 32, columnDefinition = " VARCHAR(1) COMMENT '值类型' ")
    private String valueType;

    @Column(name = "company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '公司 ID' ")
    private String companyId;

    @Column(name = "def_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '定义 ID' ")
    private String defId;

    public String getValueType() {
        return valueType;
    }

    public void setValueType(String valueType) {
        this.valueType = valueType;
    }

    public String getDefId() {
        return defId;
    }

    public void setDefId(String defId) {
        this.defId = defId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}






